package com.yuan.service.autofetch;

import java.util.List;

import com.yuan.fetch.AutoFetch;

/**
 * 
 * @author Beni
 * 
 */
public interface AutoFetchService {

	/**
	 * 选择需要抓取的
	 * 
	 * @return
	 */
	public List<AutoFetch> readNeedFetch(String ownSign, int fetchNum, int queueNum, String condition);

	/**
	 * 执行抓取
	 */
	public void runFetch(AutoFetch autoFetch);
	
	/**
	 * 重置所有的状态
	 */
	public void toInitStatus();
}
